package com.prd.mapper;

import com.prd.model.SysRoleDO;
import com.prd.model.SysRoleMenuDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 * 角色与权限的关联 Mapper 接口
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-01-09
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenuDO> {


    /**
     * 批量新增角色菜单信息
     * @param list
     * @return
     */
    int batchRoleMenu(@Param("list") List<SysRoleMenuDO> list);

}
